/**
 * PieceOfProduct.java 21 juil. 07
 *
 * Copyright (c) 2007 windu.2b <jcaddie@windu2b.org>. All Rights Reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
package org.windu2b.jcaddie.model;

import java.io.*;

import org.windu2b.jcaddie.model.UserPreferences.*;

/**
 * @author windu.2b
 * 
 */
public interface PieceOfProduct extends Serializable
{

	/**
	* @return le nom du produit
	 */
	String getName();




	/**
	 * @return l'icône du produit
	 */
	Content getIcon();




	/**
	 * @return le poids (ou le volume) d'un produit
	 */
	float getPoids();




	/**
	 * @return le prix d'un produit
	 */
	float getPrice();




	/**
	 * @return la <code>Category</code> dans laquelle le produit se classe
	 */
	Category getCategory();




	/**
	 * @return l'unité utilisée pour définir la quantité du produit
	 */
	Unit getUnit();
}